/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office._CommandBars*/
public class _CommandBars extends JavaScriptObject {

	protected _CommandBars() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final CommandBarControl getActionControl()/*-{
		return this.ActionControl;
	}-*/;

	public native final CommandBar getActiveMenuBar()/*-{
		return this.ActiveMenuBar;
	}-*/;

	public native final CommandBar add( Object name,  Object position,  Object menuBar,  Object temporary)/*-{
		return this.Add( name, position, menuBar, temporary);
	}-*/;

	public native final int getCount()/*-{
		return this.Count;
	}-*/;

	public native final boolean getDisplayTooltips()/*-{
		return this.DisplayTooltips;
	}-*/;

	public native final void setDisplayTooltips(boolean value)/*-{
		this.DisplayTooltips = value;
	}-*/;

	public native final boolean getDisplayKeysInTooltips()/*-{
		return this.DisplayKeysInTooltips;
	}-*/;

	public native final void setDisplayKeysInTooltips(boolean value)/*-{
		this.DisplayKeysInTooltips = value;
	}-*/;

	public native final CommandBarControl findControl( Object type,  Object id,  Object tag,  Object visible)/*-{
		return this.FindControl( type, id, tag, visible);
	}-*/;

	public native final CommandBar getItem( Object index)/*-{
		return this.Item( index);
	}-*/;

	public native final boolean getLargeButtons()/*-{
		return this.LargeButtons;
	}-*/;

	public native final void setLargeButtons(boolean value)/*-{
		this.LargeButtons = value;
	}-*/;

	public native final int getMenuAnimationStyle()/*-{
		return this.MenuAnimationStyle;
	}-*/;

	public native final void setMenuAnimationStyle(int value)/*-{
		this.MenuAnimationStyle = value;
	}-*/;

	public native final JavaScriptObject get_NewEnum()/*-{
		return this._NewEnum;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final void releaseFocus()/*-{
		this.ReleaseFocus( );
	}-*/;

	public native final int getIdsString(int ids, String pbstrName)/*-{
		return this.IdsString( ids, pbstrName);
	}-*/;

	public native final int getTmcGetName(int tmc, String pbstrName)/*-{
		return this.TmcGetName( tmc, pbstrName);
	}-*/;

	public native final boolean getAdaptiveMenus()/*-{
		return this.AdaptiveMenus;
	}-*/;

	public native final void setAdaptiveMenus(boolean value)/*-{
		this.AdaptiveMenus = value;
	}-*/;

	public native final CommandBarControls findControls( Object type,  Object id,  Object tag,  Object visible)/*-{
		return this.FindControls( type, id, tag, visible);
	}-*/;

	public native final CommandBar addEx( Object tbidOrName,  Object position,  Object menuBar,  Object temporary,  Object tbtrProtection)/*-{
		return this.AddEx( tbidOrName, position, menuBar, temporary, tbtrProtection);
	}-*/;

	public native final boolean getDisplayFonts()/*-{
		return this.DisplayFonts;
	}-*/;

	public native final void setDisplayFonts(boolean value)/*-{
		this.DisplayFonts = value;
	}-*/;

	public native final boolean getDisableCustomize()/*-{
		return this.DisableCustomize;
	}-*/;

	public native final void setDisableCustomize(boolean value)/*-{
		this.DisableCustomize = value;
	}-*/;

	public native final boolean getDisableAskAQuestionDropdown()/*-{
		return this.DisableAskAQuestionDropdown;
	}-*/;

	public native final void setDisableAskAQuestionDropdown(boolean value)/*-{
		this.DisableAskAQuestionDropdown = value;
	}-*/;

	public native final void executeMso(String idMso)/*-{
		this.ExecuteMso( idMso);
	}-*/;

	public native final boolean getEnabledMso(String idMso)/*-{
		return this.GetEnabledMso( idMso);
	}-*/;

	public native final boolean getVisibleMso(String idMso)/*-{
		return this.GetVisibleMso( idMso);
	}-*/;

	public native final boolean getPressedMso(String idMso)/*-{
		return this.GetPressedMso( idMso);
	}-*/;

	public native final String getLabelMso(String idMso)/*-{
		return this.GetLabelMso( idMso);
	}-*/;

	public native final String getScreentipMso(String idMso)/*-{
		return this.GetScreentipMso( idMso);
	}-*/;

	public native final String getSupertipMso(String idMso)/*-{
		return this.GetSupertipMso( idMso);
	}-*/;

	public native final IPictureDisp getImageMso(String idMso, int width, int height)/*-{
		return this.GetImageMso( idMso, width, height);
	}-*/;

}
